package com.zjw.spring.model;

/**
 * spring express language:SpEL test bean
 * @author zjw
 *
 */
public class SpElBean {

	private int id;
	private String name;
	private Person person;
	
	public SpElBean() {
		super();
	}

	public SpElBean(int id, String name) {
		super();
		this.id = id;
		this.name = name;
	}
	
	public void setPerson(Person person){
		this.person = person;
	}

	@Override
	public String toString() {
		return "SpElBean [id=" + id + ", name=" + name + ", person="+ person+"]";
	}
	
	
}
